package com.example.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * Created by hongzhenyue on 18/2/26.
 */
@Data
@ConfigurationProperties(prefix = "spring.mail")
@Component
public class EmailConfig {

    private String username;
}
